package edu.spec.wechat.service.iface;

import edu.spec.wechat.model.WechatGroup;

import java.util.List;

/**
 * Created by MadFrog on 2016/10/26.
 */
public interface IWechatGroupService {
    public void add(WechatGroup group);
    public List<WechatGroup> queryAll();
    public WechatGroup queryUserGroup(String openid);
    public void updateGroupName(int gid, String name);
    public void moveUser2Group(String openid, int groupid);
    public void moveUsers2Group(List<String> openidList, int groupid);
    public void deleteGroup(int groupid);
}
